<div class="layui-form-item layui-form-text">
    <label class="layui-form-label">图片展示</label>
    <div class="layui-input-block">
        <div id="uploader">
            {present name="topic.gallerys"}
            <div class="queueList filled">
                <ul class="filelist">
                    {volist name='topic.gallerys' id='gallery'}
                    <li id="WU_FILE_{$i}">
                        <p class="title">{$gallery.filename}</p>
                        <p class="imgWrap"><img src="__UPLOAD__/{$gallery.file_path}"></p>
                        <p class="progress"><span></span></p>
                        <div class="file-panel" style="height: 0px;">
                            <span class="cancel">删除</span>
                            <span class="rotateRight">向右旋转</span>
                            <span class="rotateLeft">向左旋转</span>
                        </div>
                    </li>
                    {/volist}
                </ul>
            {else /}
            <div class="queueList">
                <div id="dndArea" class="placeholder">
                    <div id="filePicker"></div>
                    <p>或将照片拖到这里，单次最多可选20张</p>
                </div>
            </div>
            {/present}
            <div class="statusBar" style="display:none;">
                <div class="progress">
                    <span class="text">0%</span>
                    <span class="percentage"></span>
                </div><div class="info"></div>
                <div class="btns">
                    <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
                </div>
            </div>
        </div>
    </div>
</div>
